package com.action.gulimall.search.feign;

import com.action.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author sl
 * @version 1.0
 * @ClassName ProductFeignService
 * @Deacription 定义远程调用产品服务feign接口
 * @email shilun217@qq.com
 * @date 2021/6/23/023 21:31
 **/
@FeignClient("gulimall-product")
public interface ProductFeignService {

    @GetMapping("/product/attr/info/{attrId}")
    public R attrInfo(@PathVariable("attrId") Long attrId);
}
